package com.missilike.repository.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author kin
 * @since 2019-01-15
 */
public class MilAccountContent implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 发布类型 1朋友圈 2长文3转发
     */
    private Integer contentType;

    /**
     * 标题（可能没用）
     */
    private String contentTitle;

    /**
     * 文字内容
     */
    private String contentMessage;

    /**
     * 图片OSSId集合（“|”）
     */
    private String contentPhotoOssList;

    /**
     * 语音ossId
     */
    private Long contentVoiceOssId;

    /**
     * 内容状态0-正常，1=封禁
     */
    private Integer contentStatus;

    /**
     * 用户ID
     */
    private String accountId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 朋友圈显示位置
     */
    private String contentLocation;

    /**
     * 转发的朋友圈Id
     */
    private Long contentTransmitId;

    /**
     * 朋友圈显示城市
     * */
    private String contentLocationCity;

    public String getContentLocationCity() {
        return contentLocationCity;
    }

    public void setContentLocationCity(String contentLocationCity) {
        this.contentLocationCity = contentLocationCity;
    }


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getContentType() {
        return contentType;
    }

    public void setContentType(Integer contentType) {
        this.contentType = contentType;
    }

    public String getContentTitle() {
        return contentTitle;
    }

    public void setContentTitle(String contentTitle) {
        this.contentTitle = contentTitle;
    }

    public String getContentMessage() {
        return contentMessage;
    }

    public void setContentMessage(String contentMessage) {
        this.contentMessage = contentMessage;
    }

    public String getContentPhotoOssList() {
        return contentPhotoOssList;
    }

    public void setContentPhotoOssList(String contentPhotoOssList) {
        this.contentPhotoOssList = contentPhotoOssList;
    }

    public Long getContentVoiceOssId() {
        return contentVoiceOssId;
    }

    public void setContentVoiceOssId(Long contentVoiceOssId) {
        this.contentVoiceOssId = contentVoiceOssId;
    }

    public Integer getContentStatus() {
        return contentStatus;
    }

    public void setContentStatus(Integer contentStatus) {
        this.contentStatus = contentStatus;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getContentLocation() {
        return contentLocation;
    }

    public void setContentLocation(String contentLocation) {
        this.contentLocation = contentLocation;
    }


    public Long getContentTransmitId() {
        return contentTransmitId;
    }

    public void setContentTransmitId(Long contentTransmitId) {
        this.contentTransmitId = contentTransmitId;
    }


    public MilAccountContent() {
    }

    public MilAccountContent(Integer contentType, String contentTitle, String contentMessage,
                             Integer contentStatus, String accountId, LocalDateTime createTime,
                             String contentLocation,String contentPhotoOssList,Long contentVoiceOssList,
                             Long contentTransmitId,String contentLocationCity) {
        this.contentType = contentType;
        this.contentTitle = contentTitle;
        this.contentMessage = contentMessage;
        this.contentStatus = contentStatus;
        this.accountId = accountId;
        this.createTime = createTime;
        this.contentLocation=contentLocation;
        this.contentPhotoOssList = contentPhotoOssList;
        this.contentVoiceOssId = contentVoiceOssList;
        this.contentLocationCity=contentLocationCity;
        this.contentTransmitId=contentTransmitId;

    }
    @Override
    public String toString() {
        return "MilAccountContent{" +
        "id=" + id +
        ", contentType=" + contentType +
        ", contentTitle=" + contentTitle +
        ", contentMessage=" + contentMessage +
        ", contentPhotoOssList=" + contentPhotoOssList +
        ", contentVoiceOssId=" + contentVoiceOssId +
        ", contentStatus=" + contentStatus +
        ", accountId=" + accountId +
        ", createTime=" + createTime +
        ", contentLocation=" + contentLocation +
        ", contentTransmitId=" + contentTransmitId +
        "}";
    }
}
